﻿// Copyright (c) ZhangPeihang. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace LaserMark.ModbusTCP.Abstraction
{
    public interface IMaster
    {
        bool IsConnected { get; }

        Task<double> RedKeepRegister(short reg, short count);

        Task<string> ConnectAsync();

        Task DisConnect();
    }
}
